<!DOCTYPE html>
<html ng-app="main_app">
<head lang="en">
    <meta charset="UTF-8">
    <title>欢迎管理员</title>
    <link href="../../css/bootstrap.min.css" rel="stylesheet">
    <link href="../../css/supplement.css" rel="stylesheet">
</head>

<body>
    <div class="navbar navbar-default navbar-fixed-top" role="navigation">
        <div class="navbar-header" style="width: 280px;text-align: center;">
            <a class="navbar-brand" href="#" style="float: none;line-height: 50px;">后台管理系统</a>
        </div>

        <!--顶栏-->
        <ul class="nav navbar-nav">
            <li ng-class="{active: path=='/workspace'}"><a ui-sref="workspace">工作台</a></li>
            <li ng-class="{active: path=='/content'}"><a ui-sref="content">内容</a></li>
            <li ng-class="{active: path=='/maintain'}"><a ui-sref="maintain">维护</a></li>
            <li ng-class="{active: path=='/user'}"><a ui-sref="user">用户</a></li>
            <li ng-class="{active: path=='/extend'}"><a ui-sref="extend">扩展</a></li>
            <li ng-class="{active: path=='/data'}"><a ui-sref="data">数据</a></li>
            <li ng-class="{active: path=='/config'}"><a ui-sref="config">配置</a></li>
        </ul>
    </div>

    <!--内容-->
    <div style="margin-top: 50px;" ui-view="main_view">

    </div>

</body>

<script type="text/javascript" src="../../js/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="../../js/bootstrap.min.js"></script>
<script type="text/javascript" src="../../js/angular.js"></script>
<script type="text/javascript" src="../../js/angular-ui-route.min.js"></script>
<script type="text/javascript" src="../../js/app.js"></script>
</html>